I am not sure I follow you, but here's what I am saying: the spikes are due to having a table of points rather than a smooth curve. ie. if your table says you have 213hp at 2000rpm and 240hp at 2100rpm, then the derivative would show a spike right at 2100rpm because you were 213hp from 2000rpm to 2099.99999rpm, then suddenly jumped to 240hp at 2100rpm.